Create a function
Enter workspace. Click "Create new function", then enter function name and related configuration information.
Default operating environment is Python2, with 128M memory limit. Please remember to make changes. Please enter any number from 1-300 to set Timeout time. It is in unit s. Environment variable is filled in the form of key-value pair. If it is not filled, the environment variable is defaulted as not set. Default method for code input is online editing. Sample code is as follows:
def main(event):
return "Hello, world!\n"
After successfully creating the new function, you can enter the function details page to view the code and the configuration information. While there, you can also modify the code and configurations.